<script>
for (var i = 0; i < 2; ++i) {
  navigator.joinAdInterestGroup({
    name: i,
    owner: "https://a.test:8443/",
    biddingLogicUrl: "https://a.test:8443/inspector-protocol/resources/fledge_bidding_logic.js.php",
    ads: [{
      renderUrl: 'https://example.com/render' + i,
      metadata: {ad: 'metadata', here: [1, 2, 3]}
    }]
  }, 3000);
}
</script>
